function countMoney(className){
	var money=0;
	$("."+ className).each(function(index, element) {
        if( $(this).val() == 1 ){
			money	+=	parseFloat(parseFloat( $(this).attr("money") ).toFixed(2));
		}
    });
    return parseFloat( money ).toFixed(2);
}